Functions | Variables
BasicDemo Namespace Reference

Functions

def TxtWrapBy (start_str, end, all)
 
def ToHexStr (num)
 
def xFunc (event)
 
def decoding_char (ctypes_char_array)
 
def enum_devices ()
 
def open_device ()
 
def start_grabbing ()
 
def stop_grabbing ()
 
def close_device ()
 
def set_continue_mode ()
 
def set_software_trigger_mode ()
 
def trigger_once ()
 
def save_bmp ()
 
def is_float (str)
 
def get_param ()
 
def set_param ()
 
def enable_controls ()
 

Variables

 deviceList = MV_CC_DEVICE_INFO_LIST()
 
 cam = MvCamera()
 
int nSelCamIndex = 0
 
int obj_cam_operation = 0
 
bool isOpen = False
 
bool isGrabbing = False
 
bool isCalibMode = True
 
 app = QApplication(sys.argv)
 
 mainWindow = QMainWindow()
 
 ui = Ui_MainWindow()
 

Function Documentation

◆ TxtWrapBy()

def BasicDemo.TxtWrapBy (   start_str,
  end,
  all 
)

◆ ToHexStr()

def BasicDemo.ToHexStr (   num)

◆ xFunc()

def BasicDemo.xFunc (   event)

◆ decoding_char()

def BasicDemo.decoding_char (   ctypes_char_array)
Safely decode a string from a ctypes character array.
Compatible with Python 2.x and 3.x, and both 32‑bit and 64‑bit operating systems.

◆ enum_devices()

def BasicDemo.enum_devices ( )

◆ open_device()

def BasicDemo.open_device ( )

◆ start_grabbing()

def BasicDemo.start_grabbing ( )

◆ stop_grabbing()

def BasicDemo.stop_grabbing ( )

◆ close_device()

def BasicDemo.close_device ( )

◆ set_continue_mode()

def BasicDemo.set_continue_mode ( )

◆ set_software_trigger_mode()

def BasicDemo.set_software_trigger_mode ( )

◆ trigger_once()

def BasicDemo.trigger_once ( )

◆ save_bmp()

def BasicDemo.save_bmp ( )

◆ is_float()

def BasicDemo.is_float (   str)

◆ get_param()

def BasicDemo.get_param ( )

◆ set_param()

def BasicDemo.set_param ( )

◆ enable_controls()

def BasicDemo.enable_controls ( )

Variable Documentation

◆ deviceList

deviceList = MV_CC_DEVICE_INFO_LIST()

◆ cam

cam = MvCamera()

◆ nSelCamIndex

int nSelCamIndex = 0

◆ obj_cam_operation

int obj_cam_operation = 0

◆ isOpen

bool isOpen = False

◆ isGrabbing

bool isGrabbing = False

◆ isCalibMode

bool isCalibMode = True

◆ app

app = QApplication(sys.argv)

◆ mainWindow

mainWindow = QMainWindow()

◆ ui

ui = Ui_MainWindow()